/**
  ******************************************************************************
  * @file    Algorithm_Filter.h
  * @author  zipeng
  * @version V1.0
  * @date		 2022/2/17
  * @brief   The file of filter.
	* @copyright (c) 2017-2025 JZI. All rights reserved.
  ******************************************************************************
  */
/* Define to prevent recursive inclusion ----------------	---------------------*/
#ifndef ALGORITHM_FILTER_H
#define ALGORITHM_FILTER_H
/* Includes ------------------------------------------------------------------*/
#include "stdint.h"
/* Exported constants --------------------------------------------------------*/
/* Code use label */
#define FIFOLEN 32
#define HALFLEN 16
typedef struct
{
	int flag;
	int index;
	float cur[FIFOLEN];
	float ftemp;
	float (*Move_Solid_Filter)(float raw);
}RAW_DATA;
extern RAW_DATA BatData;

float Move_Solid_Filter(float raw);

#endif
